package com.github.wisdom.common.github.modules.entity;

import java.util.List;

import io.swagger.annotations.ApiModelProperty;

public class Dictionary {
	@ApiModelProperty(value = "主键ID")
	private String id;
	@ApiModelProperty(value = "编码")
	private String code;
	@ApiModelProperty(value = "名字")
	private String name;
	@ApiModelProperty(value = "字典类型")
	private String dynamic;
	@ApiModelProperty(value = "父字典ID")
	private String parentId;
	@ApiModelProperty(value = "单位")
	private String unit;
	@ApiModelProperty(value = "最大值")
	private Integer maxValue;
	@ApiModelProperty(value = "最小值")
	private Integer minValue;
	@ApiModelProperty(value = "动态字典步增值")
	private Integer stepValue;
	@ApiModelProperty(value = "状态图")
	private String stateChartDiagram;
	private List<DictionaryItem> items;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDynamic() {
		return dynamic;
	}

	public void setDynamic(String dynamic) {
		this.dynamic = dynamic;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public Integer getMaxValue() {
		return maxValue;
	}

	public void setMaxValue(Integer maxValue) {
		this.maxValue = maxValue;
	}

	public Integer getMinValue() {
		return minValue;
	}

	public void setMinValue(Integer minValue) {
		this.minValue = minValue;
	}

	public Integer getStepValue() {
		return stepValue;
	}

	public void setStepValue(Integer stepValue) {
		this.stepValue = stepValue;
	}

	public String getStateChartDiagram() {
		return stateChartDiagram;
	}

	public void setStateChartDiagram(String stateChartDiagram) {
		this.stateChartDiagram = stateChartDiagram;
	}

	public List<DictionaryItem> getItems() {
		return items;
	}

	public void setItems(List<DictionaryItem> items) {
		this.items = items;
	}

}
